package org.n.shop.service;

import org.n.shop.domain.entity.ShoppingCart;
import org.n.shop.result.RestResult;

public interface ShoppingCartService {
    RestResult all(String authorization);
    RestResult del(int[] shoppingCartIds);
    RestResult updateNumber(ShoppingCart shoppingCart);
    RestResult add(String authorization, ShoppingCart shoppingCart);

    RestResult selectByIds(int[] ids);

    RestResult size(String authorization);
}
